package com.itboy.mall.pms.skuinfo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.itboy.common.annotation.Excel;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * sku信息视图对象 mall_sku_info
 *
 * @author itboy
 * @date 2021-08-08
 */
@Data
@ApiModel("sku信息视图对象")
public class MallSkuInfoVo {

	private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
	@ApiModelProperty("skuId")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long skuId;

    /**
     * spuId
     */
	@Excel(name = "spuId")
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty("spuId")
	private Long spuId;

    /**
     * sku名称
     */
	@Excel(name = "sku名称")
	@ApiModelProperty("sku名称")
	private String skuName;

    /**
     * sku介绍描述
     */
	@Excel(name = "sku介绍描述")
	@ApiModelProperty("sku介绍描述")
	private String skuDesc;

    /**
	 * 所属分类id
	 */
	@Excel(name = "所属分类id")
	@ApiModelProperty("所属分类id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long catalogId;

	/**
	 * 所属分类id
	 */
	@Excel(name = "所属分类id")
	@ApiModelProperty("所属分类id")
	private String[] catalogIds;

	/**
	 * 所属分类
	 */
	@Excel(name = "所属分类")
	@ApiModelProperty("所属分类")
	private String catalogName;

    /**
     * 品牌id
     */
	@Excel(name = "品牌id")
	@ApiModelProperty("品牌id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long brandId;

	/**
	 * 品牌名称
	 */
	@Excel(name = "品牌名称")
	@ApiModelProperty("品牌名称")
	private String brandName;

    /**
     * 默认图片
     */
	@Excel(name = "默认图片")
	@ApiModelProperty("默认图片")
	private String skuDefaultImg;

    /**
     * 标题
     */
	@Excel(name = "标题")
	@ApiModelProperty("标题")
	private String skuTitle;

    /**
     * 副标题
     */
	@Excel(name = "副标题")
	@ApiModelProperty("副标题")
	private String skuSubtitle;

    /**
     * 价格
     */
	@Excel(name = "价格")
	@ApiModelProperty("价格")
	private BigDecimal price;

    /**
     * 销量
     */
	@Excel(name = "销量")
	@ApiModelProperty("销量")
	private Long saleCount;


}
